package cn.maxwell.pet.service;

import cn.maxwell.basic.service.IBaseService;
import cn.maxwell.pet.domain.Pet;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface IPetService extends IBaseService<Pet> {
    /**
     * 上架
     * @param ids
     * @param request
     */
    void onsale(List<Long> ids, HttpServletRequest request);

    /**
     * 下架
     * @param ids
     */
    void offsale(List<Long> ids);
}
